<html>
<head>
	<title>My Form</title>
</head>
<body>

	<?=form_open('form'); ?>

	<h5>Username</h5>
	<?=form_error('username');?>
	<input type="text" name="username" value="<?=set_value('username');?>" size="50" />

	<h5>Password</h5>
	<?=form_error('password');?>
	<input type="text" name="password" value="<?=set_value('password');?>" size="50" />

	<h5>Password Confirm</h5>
	<?=form_error('passconf');?>
	<input type="text" name="passconf" value="<?=set_value('passconf');?>" size="50" />

	<h5>Email Address</h5>
	<?=form_error('email');?>
	<input type="text" name="email" value="<?=set_value('email');?>" size="50" />

	<div><input type="submit" value="Submit" /></div>

	<?= $this->load->view('test'); ?>
	
</form>

</body>
</html>